import { makeAutoObservable } from "mobx";
import * as playListApi from "../api/play-list";
export default  new class PlayList {
    //精品歌单
  highquality = [];                                                                      
  constructor() {
    makeAutoObservable(this);
  }
  //更新精品歌单
    *updateHeighquality() {
      const res = yield playListApi.getHighquality();
      this.highquality = res;
  }
}
